(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  ["common/main"], {
    "0c44": function (t, e, n) {
      "use strict";
      n.r(e);
      var o = n("ec79"),
        r = n.n(o);
      for (var a in o) "default" !== a && function (t) {
        n.d(e, t, (function () {
          return o[t]
        }))
      }(a);
      e["default"] = r.a
    },
    "10be": function (t, e, n) {},
    1104: function (t, e, n) {
      "use strict";
      n.r(e);
      var o = n("7db0"),
        r = n("a07b");
      for (var a in r) "default" !== a && function (t) {
        n.d(e, t, (function () {
          return r[t]
        }))
      }(a);
      var c, u = n("f0c5"),
        i = Object(u["a"])(r["default"], o["b"], o["c"], !1, null, null, null, !1, o["a"], c);
      e["default"] = i.exports
    },
    "1b66": function (t, e) {},
    "1f1a": function (t, e, n) {
      "use strict";
      n.r(e);
      var o = n("da81"),
        r = n.n(o);
      for (var a in o) "default" !== a && function (t) {
        n.d(e, t, (function () {
          return o[t]
        }))
      }(a);
      e["default"] = r.a
    },
    2473: function (t, e, n) {
      "use strict";
      var o;
      n.d(e, "b", (function () {
        return r
      })), n.d(e, "c", (function () {
        return a
      })), n.d(e, "a", (function () {
        return o
      }));
      var r = function () {
          var t = this,
            e = t.$createElement;
          t._self._c
        },
        a = []
    },
    "25be": function (t, e, n) {
      "use strict";
      n.r(e);
      var o = n("56b2");
      for (var r in o) "default" !== r && function (t) {
        n.d(e, t, (function () {
          return o[t]
        }))
      }(r);
      n("c30a");
      var a, c, u, i, s = n("f0c5"),
        l = Object(s["a"])(o["default"], a, c, !1, null, null, null, !1, u, i);
      e["default"] = l.exports
    },
    4915: function (t, e) {},
    "4d9e": function (t, e, n) {},
    "56b2": function (t, e, n) {
      "use strict";
      n.r(e);
      var o = n("8f2f"),
        r = n.n(o);
      for (var a in o) "default" !== a && function (t) {
        n.d(e, t, (function () {
          return o[t]
        }))
      }(a);
      e["default"] = r.a
    },
    5729: function (t, e, n) {
      "use strict";
      var o = n("4d9e"),
        r = n.n(o);
      r.a
    },
    "584f": function (t, e, n) {
      "use strict";
      n.r(e);
      var o = n("c919"),
        r = n("5a56");
      for (var a in r) "default" !== a && function (t) {
        n.d(e, t, (function () {
          return r[t]
        }))
      }(a);
      n("5729");
      var c, u = n("f0c5"),
        i = Object(u["a"])(r["default"], o["b"], o["c"], !1, null, null, null, !1, o["a"], c);
      e["default"] = i.exports
    },
    "5a56": function (t, e, n) {
      "use strict";
      n.r(e);
      var o = n("72cf"),
        r = n.n(o);
      for (var a in o) "default" !== a && function (t) {
        n.d(e, t, (function () {
          return o[t]
        }))
      }(a);
      e["default"] = r.a
    },
    "5ab9": function (t, e, n) {},
    6962: function (t, e, n) {
      "use strict";
      n.r(e);
      var o = n("2473"),
        r = n("0c44");
      for (var a in r) "default" !== a && function (t) {
        n.d(e, t, (function () {
          return r[t]
        }))
      }(a);
      n("c050");
      var c, u = n("f0c5"),
        i = Object(u["a"])(r["default"], o["b"], o["c"], !1, null, null, null, !1, o["a"], c);
      e["default"] = i.exports
    },
    "72cf": function (t, e, n) {
      "use strict";
      (function (t) {
        Object.defineProperty(e, "__esModule", {
          value: !0
        }), e.default = void 0;
        o(n("5100"));

        function o(t) {
          return t && t.__esModule ? t : {
            default: t
          }
        }
        var r = {
          data: function () {
            return {
            	mission: [{
								name: "上门理发"
							}, {
								name: "上门照顾"
							}, {
								name: "上门清洁"
							}, {
								name: "上门接送"
							},{
								name: "更换灯泡"
							}],
              active: "",
              location: ["9组团-9-3栋-11", "9组团-9-3栋-22", "9组团-9-3栋-33", "9组团-9-3栋-44"],
              ylAddress: "",
              myFormData: {
                ylAddress: "",
                ylContent: "",
                ylType: ""
              },
              userUrl: "/sys/user/queryById",
              positionUrl: "/sys/position/list",
              departUrl: "/sys/user/userDepartList"
            }
          },
          onLoad: function () {},
          methods: {
            getSubStringText: function (t, e) {
              return t && 0 != t.length ? t.length < e ? t : t.substr(0, e) + "..." : ""
            },
            rightClick: function () {
              t.navigateTo({
                url: "/pages/service/repair"
              })
            },
            openPopuos1: function () {
              this.$refs.popups1.open()
            },
            chooseDoor: function (t) {
              this.ylAddress = t, this.myFormData.ylAddress = t, this.$refs.popups1.close()
            },
            chooseFs: function (t) {
              this.myFormData.ylType = t.name
            },
            cChange: function (t) {
              this.PageCur = t.currentTarget.dataset.cur, console.log(this.PageCur)
            },
            sequ: function (t) {
              this.active = t
            },
            onSubmit: function () {
              var t = this,
                e = this.myFormData;
              return e.ylAddress && 0 != e.ylAddress.length ? e.ylType && 0 != e.ylType.length ? (this.myFormData.id = this.$store.getters.userid, console.log("myform", this.myFormData.ylAddress), console.log("myform", this.myFormData.ylType), console.log("myform", this.myFormData.ylContent), this.$tip.loading(), void this.$http.put("http://localhost:8080/jeecg-boot/yl/ylOrder/add", this.myFormData).then((function (e) {
                console.log(e), t.$tip.loaded(), e.data.success && (t.$tip.toast("提交成功"))
              })).catch((function () {
                t.$tip.loaded(), t.$tip.error("提交失败")
              }))) : (this.$tip.alert("快捷维修"), !1) : (this.$tip.alert("选择门号"), !1)
            },

            ChooseImage: function () {
              var e = this,
                n = this;
              t.chooseImage({
                count: 4,
                sizeType: ["original", "compressed"],
                sourceType: ["album"],
                success: function (t) {
                  n.$http.upload(n.$config.apiUrl + n.uploadUrl, {
                    filePath: t.tempFilePaths[0],
                    name: "file"
                  }).then((function (t) {
                    n.myFormData.avatar = t.data.message
                  })).catch((function (t) {
                    n.$tip.error(t.data.message)
                  })), e.imgList = t.tempFilePaths
                }
              })
            },
            ViewImage: function (e) {
              t.previewImage({
                urls: this.imgList,
                current: e.currentTarget.dataset.url
              })
            }
          }
        };
        e.default = r
      }).call(this, n("543d")["default"])
    },
    7530: function (t, e, n) {
      "use strict";
      var o;
      n.d(e, "b", (function () {
        return r
      })), n.d(e, "c", (function () {
        return a
      })), n.d(e, "a", (function () {
        return o
      }));
      var r = function () {
          var t = this,
            e = t.$createElement;
          t._self._c
        },
        a = []
    },
    7666: function (t, e, n) {
      "use strict";
      var o = n("10be"),
        r = n.n(o);
      r.a
    },
    "7db0": function (t, e, n) {
      "use strict";
      var o;
      n.d(e, "b", (function () {
        return r
      })), n.d(e, "c", (function () {
        return a
      })), n.d(e, "a", (function () {
        return o
      }));
      var r = function () {
          var t = this,
            e = t.$createElement;
          t._self._c
        },
        a = []
    },
    "820b": function (t, e, n) {},
    "8f2f": function (t, e, n) {
      "use strict";
      (function (t) {
        Object.defineProperty(e, "__esModule", {
          value: !0
        }), e.default = void 0;
        var o = r(n("66fd"));
        r(n("3a3a"));

        function r(t) {
          return t && t.__esModule ? t : {
            default: t
          }
        }
        var a = {
          onLaunch: function () {
            t.getSystemInfo({
              success: function (t) {
                o.default.prototype.StatusBar = t.statusBarHeight;
                var e = wx.getMenuButtonBoundingClientRect();
                o.default.prototype.Custom = e, o.default.prototype.CustomBar = e.bottom + e.top - t.statusBarHeight
              }
            }), o.default.prototype.ColorList = [{
              title: "嫣红",
              name: "red",
              color: "#e54d42"
            }, {
              title: "桔橙",
              name: "orange",
              color: "#f37b1d"
            }, {
              title: "明黄",
              name: "yellow",
              color: "#fbbd08"
            }, {
              title: "橄榄",
              name: "olive",
              color: "#8dc63f"
            }, {
              title: "森绿",
              name: "green",
              color: "#39b54a"
            }, {
              title: "天青",
              name: "cyan",
              color: "#1cbbb4"
            }, {
              title: "海蓝",
              name: "blue",
              color: "#0081ff"
            }, {
              title: "姹紫",
              name: "purple",
              color: "#6739b6"
            }, {
              title: "木槿",
              name: "mauve",
              color: "#9c26b0"
            }, {
              title: "桃粉",
              name: "pink",
              color: "#e03997"
            }, {
              title: "棕褐",
              name: "brown",
              color: "#a5673f"
            }, {
              title: "玄灰",
              name: "grey",
              color: "#8799a3"
            }, {
              title: "草灰",
              name: "gray",
              color: "#aaaaaa"
            }, {
              title: "墨黑",
              name: "black",
              color: "#333333"
            }, {
              title: "雅白",
              name: "white",
              color: "#ffffff"
            }]
          },
          onShow: function () {
            console.log("App Show")
          },
          onHide: function () {
            console.log("App Hide")
          }
        };
        e.default = a
      }).call(this, n("543d")["default"])
    },
    a07b: function (t, e, n) {
      "use strict";
      n.r(e);
      var o = n("1b66"),
        r = n.n(o);
      for (var a in o) "default" !== a && function (t) {
        n.d(e, t, (function () {
          return o[t]
        }))
      }(a);
      e["default"] = r.a
    },
    c050: function (t, e, n) {
      "use strict";
      var o = n("820b"),
        r = n.n(o);
      r.a
    },
    c0f8: function (t, e, n) {
      "use strict";
      n.r(e);
      var o = n("7530"),
        r = n("f48d");
      for (var a in r) "default" !== a && function (t) {
        n.d(e, t, (function () {
          return r[t]
        }))
      }(a);
      var c, u = n("f0c5"),
        i = Object(u["a"])(r["default"], o["b"], o["c"], !1, null, null, null, !1, o["a"], c);
      e["default"] = i.exports
    },
    c147: function (t, e, n) {
      "use strict";
      var o;
      n.d(e, "b", (function () {
        return r
      })), n.d(e, "c", (function () {
        return a
      })), n.d(e, "a", (function () {
        return o
      }));
      var r = function () {
          var t = this,
            e = t.$createElement;
          t._self._c
        },
        a = []
    },
    c30a: function (t, e, n) {
      "use strict";
      var o = n("5ab9"),
        r = n.n(o);
      r.a
    },
    c919: function (t, e, n) {
      "use strict";
      n.d(e, "b", (function () {
        return r
      })), n.d(e, "c", (function () {
        return a
      })), n.d(e, "a", (function () {
        return o
      }));
      var o = {
          uniPopup: function () {
            return Promise.all([n.e("common/vendor"), n.e("components/uni-popup/uni-popup")]).then(n.bind(null, "27cb"))
          }
        },
        r = function () {
          var t = this,
            e = t.$createElement;
          t._self._c
        },
        a = []
    },
    cd53: function (t, e, n) {
      "use strict";
      n.r(e);
      var o = n("c147"),
        r = n("1f1a");
      for (var a in r) "default" !== a && function (t) {
        n.d(e, t, (function () {
          return r[t]
        }))
      }(a);
      n("7666");
      var c, u = n("f0c5"),
        i = Object(u["a"])(r["default"], o["b"], o["c"], !1, null, null, null, !1, o["a"], c);
      e["default"] = i.exports
    },
    da81: function (module, exports, __webpack_require__) {
      "use strict";
      Object.defineProperty(exports, "__esModule", {
        value: !0
      }), exports.default = void 0;
      var _work = __webpack_require__("5299"),
        _default = {
          name: "home",
          props: {
            cur: String
          },
          watch: {
            cur: {
              immediate: !0,
              handler: function () {
                console.log("watch", this.cur), this.initMenu()
              }
            }
          },
          data: function () {
            return {
              swiperList: [{
                id: 1,
                type: "image",
                url: "/static/banner/banner1.png",
                link: ""
              }, {
                id: 2,
                type: "image",
                url: "/static/banner/banner2.jpg",
                link: ""
              }, {
                id: 3,
                type: "image",
                url: "/static/banner/banner3.jpg",
                link: ""
              }, {
                id: 4,
                type: "image",
                url: "/static/banner/banner4.jpg",
                link: ""
              }],
              middleApps: [{
                icon: "line2_icon1.png",
                title: "疾病百科",
                text: "普通肺炎"
              }, {
                icon: "line2_icon2.png",
                title: "医养结合",
                text: "社区养老"
              }, {
                icon: "line2_icon3.png",
                title: "消防安全",
                text: "安全常识"
              }, {
                icon: "line2_icon4.png",
                title: "养生常识",
                text: "健康养生"
              }],
              usList: _work.us.data,
              osList: _work.os.data,
              websock: "",
              heartCheck: null,
              lockReconnect: !1,
              msgCount: 0,
              dot: {
                mailHome: !1
              }
            }
          },
          methods: {
            initMenu: function () {
              console.log("-----------home------------"), this.initWebSocket(), this.loadCount(0)
            },
            goPage: function (t) {
              if (!t) return !1;
              "annotationList" === t && (this.msgCount = 0), this.dot[t] = !1, this.$router.push({
                name: t
              })
            },
            initWebSocket: function () {
              var t = this.$store.getters.userid,
                e = this.$config.apiUrl.replace("https://", "wss://").replace("http://", "ws://") + "/websocket/" + t;
              console.log("websocket url>>" + e), this.websock = new WebSocket(e), this.websock.onopen = this.websocketOnopen, this.websock.onerror = this.websocketOnerror, this.websock.onmessage = this.websocketOnmessage, this.websock.onclose = this.websocketOnclose
            },
            websocketOnopen: function () {
              console.log("WebSocket连接成功")
            },
            websocketOnerror: function () {
              console.log("WebSocket连接发生错误"), this.reconnect()
            },
            websocketOnmessage: function websocketOnmessage(e) {
              console.log("-----接收消息-------", e.data);
              var data = eval("(" + e.data + ")");
              "topic" == data.cmd ? this.loadCount("1") : "user" == data.cmd ? this.loadCount("2") : "email" == data.cmd && this.loadEmailCount()
            },
            websocketOnclose: function (t) {
              console.log("connection closed (" + t.code + ")"), this.reconnect()
            },
            websocketSend: function (t) {
              try {
                this.websock.send(t)
              } catch (e) {
                console.log("send failed (" + e.code + ")")
              }
            },
            reconnect: function () {
              var t = this;
              t.lockReconnect || (t.lockReconnect = !0, setTimeout((function () {
                console.info("尝试重连..."), t.initWebSocket(), t.lockReconnect = !1
              }), 5e3))
            },
            loadCount: function (t) {},
            loadEmailCount: function () {
              this.dot.mailHome = !0
            },
            getTtemDotInfo: function (t) {
              return "annotationList" === t.page && this.msgCount > 0 ? this.msgCount : ""
            }
          }
        };
      exports.default = _default
    },
    ec79: function (t, e, n) {
      "use strict";
      (function (t) {
        Object.defineProperty(e, "__esModule", {
          value: !0
        }), e.default = void 0;
        var o = r(n("5100"));

        function r(t) {
          return t && t.__esModule ? t : {
            default: t
          }
        }
        var a = {
          name: "people",
          data: function () {
            return {
              elements: [{
                title: "个人资料",
                name: "info",
                color: "green",
                cuIcon: "newsfill",
                auth: "ac"
              }],
              exit: [{
                title: "退出",
                name: "exit",
                color: "cyan",
                cuIcon: "exit",
                auth: "ac"
              }],
              personalList: {
                avatar: "",
                realname: "",
                username: "",
                post: ""
              },
              positionUrl: "/sys/position/list",
              departUrl: "/sys/user/userDepartList",
              userUrl: "/sys/user/queryById",
              userId: "",
              id: ""
            }
          },
          watch: {
            cur: {
              immediate: !0,
              handler: function () {
                this.load()
              }
            }
          },
          methods: {
            exits: function () {
              t.showModal({
                title: "提示",
                content: "是否退出？",
                success: function (e) {
                  e.confirm ? (t.showToast({
                    title: "退出成功",
                    duration: 800
                  }), setTimeout((function () {
                    t.redirectTo({
                      url: "/pages/login/login"
                    })
                  }), 1200)) : e.cancel && console.log("用户点击取消")
                }
              })
            },
            open: function () {
              this.$refs.popup.open()
            },
            remove: function () {
              t.removeStorageSync("Access-Token")
            },
            load: function () {
              var t = this;
              this.$http.get(this.userUrl, {
                params: {
                  id: this.$store.getters.userid
                }
              }).then((function (e) {
                if (console.log("res", e), e.data.success) {
                  var n = e.data.result,
                    r = n.avatar && n.avatar.length > 0 ? o.default.getFileAccessHttpUrl(n.avatar) : "/static/avatar_boy.png";
                  t.personalList.avatar = r, t.personalList.realname = n.realname, t.personalList.username = n.username, t.personalList.post = n.post, t.personalList.depart = n.departIds
                }
              }))
            }
          }
        };
        e.default = a
      }).call(this, n("543d")["default"])
    },
    f48d: function (t, e, n) {
      "use strict";
      n.r(e);
      var o = n("4915"),
        r = n.n(o);
      for (var a in o) "default" !== a && function (t) {
        n.d(e, t, (function () {
          return o[t]
        }))
      }(a);
      e["default"] = r.a
    },
    f770: function (t, e, n) {
      "use strict";
      (function (t) {
        n("114d");
        var e = h(n("66fd")),
          o = h(n("25be")),
          r = h(n("f15a")),
          a = h(n("7cee")),
          c = h(n("479e")),
          u = h(n("286d")),
          i = h(n("0a41")),
          s = (h(n("8729")), n("6eb1"), n("9185")),
          l = h(n("cd53")),
          f = h(n("584f")),
          d = h(n("c0f8")),
          p = h(n("1104")),
          m = h(n("6962"));

        function h(t) {
          return t && t.__esModule ? t : {
            default: t
          }
        }

        function b(t, e) {
          var n = Object.keys(t);
          if (Object.getOwnPropertySymbols) {
            var o = Object.getOwnPropertySymbols(t);
            e && (o = o.filter((function (e) {
              return Object.getOwnPropertyDescriptor(t, e).enumerable
            }))), n.push.apply(n, o)
          }
          return n
        }

        function v(t) {
          for (var e = 1; e < arguments.length; e++) {
            var n = null != arguments[e] ? arguments[e] : {};
            e % 2 ? b(Object(n), !0).forEach((function (e) {
              g(t, e, n[e])
            })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : b(Object(n)).forEach((function (e) {
              Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(n, e))
            }))
          }
          return t
        }

        function g(t, e, n) {
          return e in t ? Object.defineProperty(t, e, {
            value: n,
            enumerable: !0,
            configurable: !0,
            writable: !0
          }) : t[e] = n, t
        }
        e.default.use(i.default), e.default.use(a.default, {
          timeout: 6
        }), e.default.prototype.$store = r.default, e.default.prototype.$tip = c.default, e.default.prototype.$config = u.default, e.default.prototype.$http = s.http, e.default.component("home", l.default);
        var y = function () {
          n.e("pages/service/service").then(function () {
            return resolve(n("a4bc"))
          }.bind(null, n)).catch(n.oe)
        };
        e.default.component("service", y), e.default.component("repair", f.default), e.default.component("search", d.default), e.default.component("nearby", p.default), e.default.component("people", m.default);
        var w = function () {
          n.e("components/my-componets/my-select").then(function () {
            return resolve(n("1167"))
          }.bind(null, n)).catch(n.oe)
        };
        e.default.component("mySelect", w);
        var k = function () {
          n.e("components/my-componets/my-image-upload").then(function () {
            return resolve(n("f760"))
          }.bind(null, n)).catch(n.oe)
        };
        e.default.component("myImageUpload", k);
        var _ = function () {
          n.e("components/my-componets/my-page").then(function () {
            return resolve(n("ff5c"))
          }.bind(null, n)).catch(n.oe)
        };
        e.default.component("myPage", _);
        var O = function () {
          n.e("pages/basics/home").then(function () {
            return resolve(n("3b33"))
          }.bind(null, n)).catch(n.oe)
        };
        e.default.component("basics", O);
        var $ = function () {
          n.e("pages/component/home").then(function () {
            return resolve(n("9bbe"))
          }.bind(null, n)).catch(n.oe)
        };
        e.default.component("components", $);
        var j = function () {
          n.e("pages/plugin/home").then(function () {
            return resolve(n("5bf3"))
          }.bind(null, n)).catch(n.oe)
        };
        e.default.component("plugin", j);
        var P = function () {
          n.e("plugin/colorui/components/cu-custom").then(function () {
            return resolve(n("96a5"))
          }.bind(null, n)).catch(n.oe)
        };
        e.default.component("cu-custom", P), e.default.config.productionTip = !1, o.default.mpType = "app";
        var C = new e.default(v({
          store: r.default,
          MinCache: a.default
        }, o.default));
        t(C).$mount()
      }).call(this, n("543d")["createApp"])
    }
  },
  [
    ["f770", "common/runtime", "common/vendor"]
  ]
]);